package cn.cdeden.resource.service;

import cn.cdeden.resource.domain.ocr.OcrContent;
import org.springframework.web.multipart.MultipartFile;

import java.util.HashMap;
import java.util.Map;

/**
 * TODO
 *
 * @author Administrator
 * @date 2024/12/31 10:00
 * @describe:
 **/
public interface ISysOcrService {
    String getOcrResult();

    //上传文件到OCR服务，并获取结果
    Map upload(MultipartFile pdfFile);

    HashMap<String, String> getStatus(Long id);

    void toLibrary(OcrContent ocrContent);
}
